Dear Lavolpe,
I tried to hide form 2 in standard exe project it hide if I use tc.hide where tc is form2 object.
But when I try to hide form2 using callfunction_com giving 516 as the address of Hide method
'ie, vtableoffset as per interface _Form which derives from IDispatch located in vb6.olb when we view the typelib using oleview.Hide is the 122th method+3(for IUnknown)+4(for IDispatch)=129*4bytes=516.
Please clarify.